package com.ruoyi.voucher.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author SunFanKe
 * @CreateTime 2025-03-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScripDTO implements Serializable {

    /** 凭证字号 */
    @NotBlank(message = "凭证字号不能为空")
    private String voucherNo;

    /** 附单据数量 */
    private Long attachmentCount;

    /** 合计金额 */
    private Double totalAmount;

    /** 账套ID */
    private Long accountId;

    /** 凭证字ID */
    private Long wordId;

    private List<ScripDetailDTO> scripDetailDTOList;
}
